﻿Element.prototype.HasClass = function HasClass(className)
{
	if (____a) { className = this.className = ""; }

	var classes = this.className.split(" ");
	for (var iClass = 0; iClass < classes.length; ++iClass)
	{
		if (classes[iClass] == className)
			return true;
	}
	return false;
}
